package dnd.view
{
	import dnd.extension.base.*;
	import dnd.model.*;
	import flash.text.TextField;
	
	/**
	 * ...
	 * @author Hugh Hoang
	 */
	public class WelcomeView extends ViewBase
	{
		
		public function WelcomeView(model:WelcomeModel)
		{
			var txtGreeting:TextField = new TextField();
			addChild(txtGreeting);
			txtGreeting.defaultTextFormat = ControlFontFormat(60);
			txtGreeting.text = model.greeting;
			txtGreeting.embedFonts = true;
			txtGreeting.x = 10;
			txtGreeting.y = 10;
			txtGreeting.autoSize = "left";
			txtGreeting.textColor = 0x00A0FF;
			txtGreeting.selectable = false;
		}
	}
}